package com.foreknow.demo14;

public class ExceptionDemo1 {
    public static void main(String[] args) {

        try {
            int[] array = {1,2};
            for(int i = 0;i<=array.length;i++){
                System.out.println(array[i]);
            }
        }catch(ArrayIndexOutOfBoundsException e) {
            System.out.println("要处理异常！！！！！！");
        }finally {
            System.out.println("111111111111111111111111111");
        }

        System.out.println("continue......");
    }
}
